<title>نسخة احتياطية - (Powered By MySmartBB)</title>
{include file="style_header.tpl"}
<form method="POST" action="backup.php" name="SaTable">
<div dir="rtl" align="center">
  <center>
  <table border="1" cellpadding="3" cellspacing="1" style="{$border_style}" bordercolor="#CCCCCC" width="90%" height="22">
    <tr>
      <td align="center" class="row2" height="1">
      <input title="تحديد الكل" onclick="SelectAll();UpdateSize(this,'{$Siize}')" type=checkbox name='SelectAllSa' value='1' dir='rtl'></td>
      <td align="center" class="row2" width="50%" height="1">
      الجدول</td>
      <td align="center" class="row2" width="25%" height="1">
      الحجم</td>
      <td align="center" class="row2" width="25%" height="1">
      التسجيلات</td>
    </tr>
    {section name=idx loop=$table_row}
    <tr>
      <td class="row1" height="22"><input ID='{$table_row[idx].Name}1' onclick="UpdateSize(this,{$table_row[idx].Name}.value)" type=checkbox name='{$table_row[idx].Name}2' value='1' dir='rtl'></td>
      <td class="row1" width="50%" height="22"><LABEL id='{$table_row[idx].Name}2' FOR='{$table_row[idx].Name}1'>{$table_row[idx].Name}</Label></td>
      <td class="row1" width="25%" height="22">
      <p align="center">{$table_row[idx].SizeKB}</td>
      <input type="hidden" name="{$table_row[idx].Name}" value="{$table_row[idx].SizeKB}">
      <td class="row1" width="25%" height="22">
      <p align="center">{$table_row[idx].Rows}</td>
    </tr>
    {/section}
  </table>
  </center>
</div>
<div dir="rtl" align="center">
  <center>
  <table border="1" cellpadding="3" cellspacing="1" style="{$border_style}" bordercolor="#CCCCCC" width="90%" height="22">
    <tr>
      <td colspan="3" class="row2" height="1">
      تعدد الملفات</td>
    </tr>
    <tr>
      <td class="row1" width="33%" height="22">
      <input type="radio" OnClick="ChangeMulti(this.value);" name="multi" value="1" checked id="fp4"><label for="fp4">ملف
                واحد فقط.</label></td>
      <td class="row1" width="33%" height="22">
      <input type="radio" OnClick="ChangeMulti(this.value);" name="multi" value="2" id="fp5"><label for="fp5">ملفين
                أو أكثر</label><input type="text" name="filesno" size="5" disabled="true" value="1">.</td>
      <td class="row1" width="33%" height="22">
      <input type="radio" OnClick="ChangeMulti(this.value);" name="multi" value="3" id="fp6"><label for="fp6">
                لكل جدول ملف.</label>
      </td>
    </tr>
    <tr>
      <td colspan="3" class="row2" height="1">
      النوع</td>
    </tr>
    <tr>
      <td class="row1" width="33%" height="22">
      <input type="radio" value="sql" name="type" id="fp1" checked><label for="fp1">SQL</label></td>
      <td class="row1" width="33%" height="22">
      <input type="radio" value="zip" name="type" id="fp2"><label for="fp2">ZIP</label></td>
      <td class="row1" width="33%" height="22">
      <input type="radio" value="gz" name="type" id="fp3"><label for="fp3">GZipped</label></td>
    </tr>
    <tr>
      <td colspan="2" class="row2" height="1">
      &nbsp;</td>
      <td class="row2" height="1">
      إجمالي الحجم بدون الضغط(ك ب)</td>
    </tr>
    <tr>
      <td colspan="2" class="row1" width="66%" height="22">
      <input ID='SaDrop' checked type=checkbox name='SaDrop' value='1' dir='rtl'><LABEL FOR='SaDrop'>إضافة حذف الجدول إذا كان موجود في البداية</LABEL>
      </td>
      <td class="row1" width="33%" height="22">
      <div id="total">0</div></td>
    </tr>
  </table>
  </center>
</div>
<br>
<p align="center">
        <input type="submit" value="جلب النسخة الإحتياطية" name="GiveBackup"></p>
</form>
<SCRIPT>
{$Sele}
</SCRIPT>
{include file="style_footer.tpl"}